<?php

$messages = elgg_view('page/elements/messages', array('object' => $vars['sysmessages']));

// Set the content type
header("Content-type: text/html; charset=UTF-8");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php echo elgg_view('page/elements/head', $vars); ?>
</head>
<body>
<div class="elgg-page elgg-page-default" style="width:800px;min-width:800px;">
	<div class="elgg-page-messages">
		<?php echo $messages; ?>
	</div>
	<div class="elgg-page-body" style="width:800px">
		<div class="elgg-inner" style="width:800px">
<?php
$vars['page_type'] = 'popup';
echo elgg_view('trade/comments', $vars);
?>
		</div>
	</div>
</div>
<?php echo elgg_view('page/elements/foot'); ?>
</body>
</html>
